/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aptech.domain;

import com.aptech.domain.JPA.Account;
import com.aptech.domain.JPA.BaseSearchCondition;
import com.aptech.domain.model.AccountDO;
import com.aptech.util.AptechUtility;

/**
 *
 * @author Admin
 */
public abstract class BaseModel {
    private BaseSearchCondition baseSearchCondition;
    
    public AccountDO getCurLoginAccount() {
        AccountDO account = AptechUtility.getWebUserDetails();
        return account;
    }

    /**
     * @return the baseSearchCondition
     */
    public BaseSearchCondition getBaseSearchCondition() {
        return baseSearchCondition;
    }

    /**
     * @param baseSearchCondition the baseSearchCondition to set
     */
    public void setBaseSearchCondition(BaseSearchCondition baseSearchCondition) {
        this.baseSearchCondition = baseSearchCondition;
    }
}
